#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[10];
	for (int i = 0; i < 10; i++)
	{
		scanf("%d", &arr[i]);
	}
	for (int i = 0; i < 10-1; i++)
	{
		for (int j = 0; j < 10 - i-1; j++)
		{
			if (arr[j] > arr[j+1])
			{
				int m = arr[j];
				arr[j] = arr[j+1];
				arr[j+1] = m;
			}
		}
	}
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", arr[i]);
	}
	return 0;
}